package org.example.auth.mapper;

import org.example.auth.domain.Role;
import org.example.auth.dto.RoleDTO;
import org.example.base.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yinyang
 * @since 2024-05-30
 */
public interface RoleMapper extends BaseMapper<Role> {

    List<Long> queryPermissionById(Long id);

    void auth(RoleDTO roleDTO);

    void deleteAuth(String id);
}
